<template>
  <div>
   <h1>我是哥哥我开{{car}}</h1>
  </div>
</template>

<script>
export default {
  name: "Child2",
  props: ["car"],



  beforeCreate(){
    console.log("2222beforeCreate2222")
  },

  created(){
    console.log("2222created2222")
  },

  beforeMount(){
    console.log("2222beforeMount2222")
  },

  mounted(){
    console.log("2222mounted2222")
  },


  beforeUpdate(){
    console.log("2222beforeUpdate2222")
  },

  updated(){
    console.log("2222updated2222")
  },

  beforeDestroy(){
    console.log("2222beforeDestroy2222")
  },

  destroyed(){
    console.log("2222destroyed2222")
  },


}
</script>

<style>

</style>